//loginPage-formInfo-input
interface UserLoginForm {
  username: string;
  password: string;
}
interface UserRegisterForm extends UserLoginForm {
  confirmPassword: string;
  role: string;
  email: string;
}
interface GuestLoginForm {
  guestName: string;
}
interface PatientLoginForm extends UserLoginForm {}
interface PatientRegisterForm extends UserLoginForm {
  confirmPassword: string;
}

//user-info-from-change-and-feedback-form
interface UserInfoSet {
  username: string;
  email: string;
  password: string;
  confirmPassword: string;
}

interface FeedbackSet {
  feedback: string;
}

//patientAppointment-appoint-form
interface PatientAppointmentDataForm {
  doctorId: number | null;
  appointmentTime: string;
}
//update-form
interface PatientAppointmentUpdateForm {
  id: number | null;
  appointmentTime: string;
}
//cancel-form
interface PatientAppointmentCancelForm {
  id: number | null;
}

export {
  UserLoginForm,
  UserRegisterForm,
  GuestLoginForm,
  PatientLoginForm,
  PatientRegisterForm,
  UserInfoSet,
  FeedbackSet,
  PatientAppointmentDataForm,
  PatientAppointmentUpdateForm,
  PatientAppointmentCancelForm,
};
